#include<stdio.h>
int main(){
    int n;
    scanf("%d",&n); 
    printf("2^%d = %d",n,1<<n);
    return 0;
}
